package com.yckj.dao;

import com.yckj.daomain.Lawyer;

import java.util.List;

/**
 * 对律师表进行操作：创建律师、修改律师、查询律师
 * @author wangwencheng
 */

public class LawyerDao {
    /**
     * 新建律师
     * @param lawyer
     * @return
     */
    public int createLawyer(Lawyer lawyer){
        System.out.println("创建律师......");
        return 1;
    }

    public int modifyLawyer(Lawyer lawyer){
        System.out.println("修改律师......");
        return 1;
    }

    public List<Lawyer> findAllLawyer(){
        System.out.println("查询所有律师");
        return null;
    }
}
